package com.bawei.a2010douyin.ui.shopping;

import com.bawei.a2010douyin.base.mvp.BaseView;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.GoodsEntity;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.Query;

public interface ShoppingContract {
    interface IShoppingModel{
        Observable<BaseResponse<List<GoodsEntity>>> goods( int category_id,int currentPage,int pageSize);
    }
    interface IShoppingView extends BaseView{
        void showGoods(List<GoodsEntity> data);
    }
    interface IShoppingPresenter{
        void goods( int category_id,int currentPage,int pageSize);
    }
}
